projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b86a6a
)
Make semantic/idle not move point after last change
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 8 Mar 2021 19:37:31 +0000
(20:37 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 8 Mar 2021 19:37:40 +0000
(20:37 +0100)
* lisp/cedet/semantic/idle.el (semantic--eldoc-info): Don't move
point (bug#46999).
lisp/cedet/semantic/idle.el
patch
|
blob
|
history
diff --git
a/lisp/cedet/semantic/idle.el
b/lisp/cedet/semantic/idle.el
index 0f997474ded0ba6a2715da8fdd5effb99526c632..2b6d11f4580e650b5d6b26df2140d032ff7d30ff 100644
(file)
--- a/
lisp/cedet/semantic/idle.el
+++ b/
lisp/cedet/semantic/idle.el
@@
-734,7
+734,8
@@
Call `semantic-idle-summary-current-symbol-info' for getting the
current tag to display information."
(or (eq major-mode 'emacs-lisp-mode)
(not (semantic-idle-summary-useful-context-p))
- (let* ((found (semantic-idle-summary-current-symbol-info))
+ (let* ((found (save-excursion
+ (semantic-idle-summary-current-symbol-info)))
(str (cond ((stringp found) found)
((semantic-tag-p found)
(funcall semantic-idle-summary-function